package com.hmall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.order.pojo.Order;
import com.hmall.order.pojo.OrderInfo;

public interface IOrderService extends IService<Order> {
    /**
     * 提交订单
     * @param orderInfo
     * @return
     */
    Long submitMinus(OrderInfo orderInfo);

    /**
     * 修改订单数据
     * @param id
     * @param i
     */
    void updateStatus(Long id, Integer i);
}
